package com.cyw.search.service;

import cn.easyes.core.biz.PageInfo;
import com.cyw.common.core.domain.R;
import com.cyw.search.entity.videos.Videos;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author: 二叔
 * @Date: 2022/11/10/23:02
 */
public interface VideosService {
    R publishVideo(String geoPoint, String content, MultipartFile multipartFile);

    PageInfo<Videos> searchNearVideos(String geoPoint, Integer pageNum, Integer pageSize);

    PageInfo<Videos> searchRecommendVideos(Integer pageNum, Integer pageSize);

    PageInfo<Videos> searchMyFollowVideos(Integer pageNum, Integer pageSize);

    String loveOrUnLove(Long videoId);

    String deleteVideo(Long videoId);
}
